package com.pt25.service.sys.domain.admin.service;

import com.pt25.service.sys.domain.admin.ddo.AdminPermission;

import java.util.List;
import java.util.Set;

public interface AdminPermissionService {
  void addAdminPermission(AdminPermission adminPermission);

  void delAdminPermission(Long id);

  void updateAdminPermission(AdminPermission adminPermission);

  AdminPermission getAdminPermission(Long id);

  Set<String> getPermissionsByRoleIds(Set<Long> roleIds);

  List<AdminPermission> listAdminPermission();
}
